COMPONENT PROGRAMMINGWITH OBJECT - ORIENTED SIGNALS by Sean

نویسندگان

  • Sean McDirmid
  • Wilson C. Hsieh
  • Matthew Flatt
  • Gary Lindstrom
  • Craig Chambers
  • Gail Murphy
  • Martin Berzins
  • David S. Chapman
چکیده

Components that process state, rather than immutable data, are important because they make programs more usable with their ability to process continuously changing data. For example, a compiler built out of state-processing components can detect programming errors as soon as programmers write them. Unfortunately, state-processing components are difficult to assemble because existing languages depend on awkward event handling mechanisms to communicate changes in state. Because the encoding of event handling details is not very modular, glue code that assembles state-processing components is often excessively large. This dissertation describes how state-processing components can be glued together with less code through time-varying values known as signals. Signals are state abstractions that hide event handling details from glue code by standardizing how state changes are communicated. We explore how signals can be used to assemble components in our language SuperGlue. Although signals have been explored in other languages, SuperGlue is unique in its use of simple wire-like connections to express component assemblies. To support components that process graph-like state, such as trees, SuperGlue has object-oriented abstractions that can be used to express an unbounded number of signal connections. With signals and objects, programmers can build complicated state-processing programs with reasonable amounts of glue code. SuperGlue is a pragmatic language that supports the reuse of existing Java components. For example, SuperGlue code can reuse user-interface components in Java’s Swing library. We have found that SuperGlue is beneficial in programs that involve significant amounts of state processing, such as many user-interface programs. For example, the SuperGlue implementation of an email client is about half the size of an equivalent Java implementation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SuperGlue: Component Programming with Object-Oriented Signals

The assembly of components that can handle continuously changing data results in programs that are more interactive. Unfortunately, the code that glues together such components is often difficult to write because it is exposed to many complicated event-handling details. This paper introduces the SuperGlue language where components are assembled by connecting their signals, which declaratively r...

متن کامل

Object-Oriented Method for Automatic Extraction of Road from High Resolution Satellite Images

As the information carried in a high spatial resolution image is not represented by single pixels but by meaningful image objects, which include the association of multiple pixels and their mutual relations, the object based method has become one of the most commonly used strategies for the processing of high resolution imagery. This processing comprises two fundamental and critical steps towar...

متن کامل

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

Objects Identification in Object-Oriented Software Development - A Taxonomy and Survey on Techniques

Analysis and design of object oriented is onemodern paradigms for developing a system. In this paradigm, there are several objects and each object plays some specific roles. Identifying objects (and classes) is one of the most important steps in the object-oriented paradigm. This paper makes a literature review over techniques to identify objects and then presents six taxonomies for them. The f...

متن کامل

On Attributes of Objects in Object-Oriented Software Analysis

One of the modern paradigms to develop a system is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles. There is a sequence of activities to develop an analysis model. In the first step, we work in developing an initial use case model. Then in the second step, they identify a number of concepts and build a glossary of partic...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005